Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 10, 2025

Description

There is a problem with the latest PHPUnit 11 releases, which cause the test runs to hang and time out in CI after six hours.

Limiting the builds to use a PHPUnit 11 version below the problematic ones should unblock contributing for now.

The timing is a bit unfortunate, what with the PHP 8.5 deprecations being merged and the latest PHPUnit versions containing related fixes, but it will be a while still before PHP 8.5 is released, so I'm not too concerned about that and I expect a new PHPUnit release fixing the "hanging" well before that time.

Related upstream issue: sebastianbergmann/phpunit#6304

Suggested changelog entry

N/A

There is a problem with the latest PHPUnit 11 releases, which cause the test runs to hang and time out in CI after six hours.

Limiting the builds to use a PHPUnit 11 version below the problematic ones should unblock contributing for now.

The timing is a bit unfortunate, what with the PHP 8.5 deprecations being merged and the latest PHPUnit versions containing related fixes, but it will be a while still before PHP 8.5 is released, so I'm not too concerned about that and I expect a new PHPUnit release fixing the "hanging" well before that time.

Related upstream issue: sebastianbergmann/phpunit 6304
@jrfnl jrfnl added this to the 4.0.0 milestone Aug 10, 2025
@jrfnl jrfnl merged commit c0301bc into 4.x Aug 10, 2025
66 of 67 checks passed
@jrfnl jrfnl deleted the phpcs-4.x/feature/temporarily-limit-phpunit-11 branch August 10, 2025 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant